<?php
	/**
	 *	Wap Portal Server
	 *
	 *	Copyright (C) 2002 - 2004 Emir Sakic
	 *
	 *	Wap Portal Server
	 *	Developer: Emir Sakic - saka@hotmail.com
	 *  Homepage: http://www.sakic.net
	 *	Date: 15/03/2004
	 * 	Version #: 1.2
	**/

$query = "SELECT javascript FROM wps_emulator WHERE id = 1";
$result = mysql_query($query);
$row = mysql_fetch_row ($result);
echo $row[0];
?>

  <table width="600">
    <tr>
      <td align="center" width="33%" valign="top"><b>GENERAL SETTINGS</b><br>
        <a href="index.php?option=admins">Administrators</a><br>
        <br>
        <b>SITE SETTINGS</b><br>
        <a href="index.php?option=site">Site info</a><br>
		<a href="index.php?option=time">Time offset</a><br>
        <a href="index.php?option=date">Date format</a><br>
        <br>
        <b>EMULATOR SETTINGS</b><br>
        <a href="index.php?option=emulator">Emulator</a></td>
      <td align="center" width="33%" valign="top"><b>CONTENT MANAGEMENT</b><br>
        <a href="index.php?option=sections">Sections</a><br>
        <a href="index.php?option=items">Section items</a><br>
        <a href="index.php?option=menu">Main menu</a><br>
        <br>
        <b>COMPONENTS</b><br>
        <a href="index.php?option=links">Links</a><br>
        <a href="index.php?option=guestbook">Guestbook</a><br>
        <a href="index.php?option=contact">Contact</a><br>
		<a href="index.php?option=poll">Poll</a><br>
      <td align="center" width="33%" valign="top"><b>PORTAL SETTINGS</b><br>
        <a href="index.php?option=logo">Logo</a><br>
        <a href="index.php?option=stats">Statistics</a><br>
        <br>
        <b>RESOURCES</b><br>
<?php
	$common->setup_default_emulator();
	$common->display_emulator();
?>
        <br>
        <a href="../manual/" target=_blank>Manual</a><br>
        <a href="index.php?option=about">About</a></td>
    </tr>
  </table>
